<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Administrator - Tennant Creek Online</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<script type="text/javascript">
function Validate()
{
	if(document.fgpassform.email.value == "")
	{
		alert('Please enter email address');
		return false;
	}
}
</script>
</head>
<body>
<table align="center" width="600px" border="0">
<tr>
    <td style="padding-top:25px;">&nbsp;</td>
</tr>    
<tr>
    <td align="center">
        <?php
        if($_REQUEST['_err'] == 1)
        { ?>
            <div class="errmsg"><img src="images/error.png" border="0" align="absmiddle" > Wrong email address</div>
        <?php } 
        if($_REQUEST['_suc'] == 1)
        { ?>
            <div class="errmsg"><img src="images/information.png" border="0" align="absmiddle" > Your new password has been sent to your email.</div>
        <?php } ?>
    </td>
</tr>
<tr>
	<td align="center"  style="padding-top:0px">
  <a href="./">  
 <img src="../images/logo.png" border="0" title="" /></a>
    </td>
</tr> 
</table>
<form name="fgpassform" action="forgotpass_code.php" method="post" onSubmit="return Validate();">
<table width="40%" align="center" border="0"  class="list" cellpadding="5" cellspacing="0" style="margin-top:20px">
<thead>
 
<tr>
	<td colspan="2" align="left">
        <div style="float:left">Forgot Password</div>
    </td>
</tr>
</thead>
<tr>
	<td align="right" width="110">Email</td>
    <td align="left" style="padding-left:5px"><input class="text" name="email" type="text" style="width:200px"/></td>
</tr>
<tr>
	<td colspan="2" align="center"><input type="submit" name="btnsubmit" value="Submit"></td>
</tr>
</table>
</form>
</body>
</html>